package niuke;

import java.util.Scanner;

public class 计算糖果 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int m[] = new int[4];
        int a,b,c;
        for(int i=0;i<=3;i++){
            m[i] = scanner.nextInt();
        }
        a = (m[0] + m[2])/2;
        b = m[2] - a;
        c = m[3] - b;

        if(a-b==m[0] && b-c==m[1] && a+b==m[2] && b+c==m[3]){
            System.out.println(a+" "+b+" "+c);
        }
        else {
            System.out.println("No");
        }

    }
}
